* {
  padding: 0px;
  margin: 0px auto;
  font-family: Arial;
}
/*最外部的大框*/
.outermost {
  width: 480px;
  height: 600px;
  font-size: 40px;
  margin-top: 120px;
}
/*title*/
/* <!--顶部显示分数的样式-- > */
.top {
  margin: auto;
}
.top span {
  color: red;
}
/*游戏大框框*/
.big {
  width: 480px;
  height: 480px;
  background: pink;
  border-radius: 8px;
}
/* 给每一个盒子包裹的小框子添加样式 */
.cell {
  list-style: none;
  float: left;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  background-color: #fbf8cd;
  margin-left: 16px;
  margin-top: 16px;
  border-radius: 6px;
}
/* <!--提前把出现的数2、4、8、16等的数所在的格子给添加好样式增加游戏体验感-- > */
.n2 {
  background-color: #f65e3b;
  color: #776e65;
}
.n4 {
  background-color: #33b5e5;
  color: #776e65;
}
.n8 {
  background-color: #f2b179;
  color: #776e65;
}
.n16 {
  background-color: #f59563;
  color: #776e65;
}
.n32 {
  background-color: #f67c5f;
  color: #776e65;
}
.n64 {
  background-color: #f65e3b;
  color: #776e65;
}
.n128 {
  background-color: #edcf72;
  color: #776e65;
}
.n256 {
  background-color: #edcc61;
  color: #776e65;
}
.n512 {
  background-color: #9c0;
  color: #776e65;
}
.n1024 {
  background-color: #33b5e5;
  color: #776e65;
  font-size: 40px;
}
.n2048 {
  background-color: #09c;
  color: #776e65;
  font-size: 40px;
}
/*提示框样式*/
.tips {
  border: 1px solid #cccccc;
  background: #ffffff;
  width: 400px;
  height: 200px;
  border-radius: 10px;
  color: #ff4456;
  text-align: center;
  line-height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -200px;
  margin-top: -100px;
  display: none;
}
.tips .startbtn {
  height: 50px;
  width: 200px;
  color: #ffffff;
  font-size: 20px;
  line-height: 50px;
  border-radius: 10px;
  background: cornflowerblue;
  border: none;
}
/*重玩一遍*/
.foot {
  width: 200px;
  height: 50px;
}
.foot > .replay {
  width: 200px;
  height: 50px;
  background: aquamarine;
  margin-top: 60px;
  color: lightpink;
  border: 0;
  font-size: 24px;
  font-weight: bold;
  border-radius: 6px;
}
